package love.yuanmengrobot.guoyitang.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表(User)实体类
 *
 * @author makejava
 * @since 2021-08-07 09:33:00
 */
public class User implements Serializable {
    private static final long serialVersionUID = 998888493311549753L;

    private Object itemid;
    /**
     * 唯一标识UUID
     */
    private String itemcode;
    /**
     * 机构id(关联organization表中的itemID）
     */
    private String orgCode;
    /**
     * 登陆账号
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 盐
     */
    private String salt;
    /**
     * 用户名
     */
    private String name;
    /**
     * 性别
     */
    private String gender;
    /**
     * 肖像
     */
    private Object portrait;
    /**
     * 身份证件类型
     */
    private String idcardType;
    /**
     * 证件号码
     */
    private String idcardNo;
    /**
     * email
     */
    private String email;

    private String state;
    /**
     * 电话号码
     */
    private String mobilephone;
    /**
     * 创建人
     */
    private String creater;
    /**
     * 创建时间
     */
    private Date itemcreateat;
    /**
     * 修改人
     */
    private String updater;
    /**
     * 修改时间
     */
    private Date itemupdateat;
    /**
     * 地级机构id
     */
    private String cityid;
    /**
     * 类型（0：普通，1：管理员）
     */
    private Integer type;
    /**
     * 出生日期
     */
    private Object birth;

    private String wxOpenid;


    public Object getItemid() {
        return itemid;
    }

    public void setItemid(Object itemid) {
        this.itemid = itemid;
    }

    public String getItemcode() {
        return itemcode;
    }

    public void setItemcode(String itemcode) {
        this.itemcode = itemcode;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Object getPortrait() {
        return portrait;
    }

    public void setPortrait(Object portrait) {
        this.portrait = portrait;
    }

    public String getIdcardType() {
        return idcardType;
    }

    public void setIdcardType(String idcardType) {
        this.idcardType = idcardType;
    }

    public String getIdcardNo() {
        return idcardNo;
    }

    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getItemcreateat() {
        return itemcreateat;
    }

    public void setItemcreateat(Date itemcreateat) {
        this.itemcreateat = itemcreateat;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getItemupdateat() {
        return itemupdateat;
    }

    public void setItemupdateat(Date itemupdateat) {
        this.itemupdateat = itemupdateat;
    }

    public String getCityid() {
        return cityid;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Object getBirth() {
        return birth;
    }

    public void setBirth(Object birth) {
        this.birth = birth;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    @Override
    public String toString() {
        return "User{" +
                "itemid=" + itemid +
                ", itemcode='" + itemcode + '\'' +
                ", orgCode='" + orgCode + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", portrait=" + portrait +
                ", idcardType='" + idcardType + '\'' +
                ", idcardNo='" + idcardNo + '\'' +
                ", email='" + email + '\'' +
                ", state='" + state + '\'' +
                ", mobilephone='" + mobilephone + '\'' +
                ", creater='" + creater + '\'' +
                ", itemcreateat=" + itemcreateat +
                ", updater='" + updater + '\'' +
                ", itemupdateat=" + itemupdateat +
                ", cityid='" + cityid + '\'' +
                ", type=" + type +
                ", birth=" + birth +
                ", wxOpenid='" + wxOpenid + '\'' +
                '}';
    }
}
